<?php 

if(!empty($this->amazonLink)){
//is added by amazon info
	?>

<Strong>Amazon.com:</Strong> <a target="_blank" href="<?php echo $this->amazonLink; ?>">
<?php $price = $this->webPageScraping($this->amazonLink,"class","priceLarge" );
if (empty($price))
{echo "Click Here"; }
else
{echo $price;}?>
</a>&nbsp;&nbsp;
<?php }?>


<?php $price = $this->webPageScraping("http://www.adlibris.com/se/product.aspx?isbn=$this->isbn10","id","ctl00_main_frame_ctrlproduct_PriceLabel" );
if (!empty($price)){
?>
<Strong>Adlibris.com:</Strong> <a target="_blank" href="http://www.adlibris.com/se/product.aspx?isbn=<?php echo $this->isbn10; ?>"> <?php echo $price;?></a>&nbsp;&nbsp;
<?php }?>

<?php $price = $this->webPageScraping("http://www.bokus.com/bok/$this->isbn10/","class","price big" );
if (!empty($price)){
?>
<Strong>Bokus.com:</Strong> <a target="_blank" href="http://www.bokus.com/bok/<?php echo $this->isbn10; ?>/"> <?php echo str_replace(":-"," kr",$price);?></a>&nbsp;&nbsp;
<?php }?>

<?php $info = $this->webPageScraping("http://book.douban.com/isbn/$this->isbn10/","id","info" );

$start = strpos($info, "定价:")+8;
$length = strpos($info,"装帧")-$start;
$price = substr($info,$start,$length);

if (!empty($price)){
?>
<Strong>豆瓣（douban.com）:</Strong> <a target="_blank" href="http://book.douban.com/isbn/<?php echo $this->isbn10; ?>/"> <?php echo str_replace(".00","",$price);?></a>
<?php }?>
<br />